package com.design.demo.decorator;

import java.math.BigDecimal;

/**
 * @author guoliang.li
 * @date 2019/12/26 12:02
 * @description TODO 具体组件
 */
public class DarkRoastComponent extends BaseComponent {

    @Override
    public String getDescription() {
        return "DarkRoast";
    }

    @Override
    public BigDecimal cost() {
        return new BigDecimal("1.22");
    }
}